package com.education.service.edu.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * OpenFeign 日志配置文件
 * Created by Lance on 2020/06/25 16:04
 */
@Configuration
public class OpenFeignConfig {

    @Bean
    Logger.Level feignLoggerLevel(){
        // 设置日志的返回级别
        return Logger.Level.FULL;
    }
}
